#ifndef __StringDisp_h_
#define __StringDisp_h_
#include "SmartString.h"
#include "SmartArray.h"
#include "SmartString.h"
#include <iostream>
using std::cout;
using std::endl;

class StringDisplay:public SmartArray<SmartString>::Callback
{
private:
	bool mOutline;
public:
	bool Outline()
	{
		return mOutline;
	}
	bool Outline(bool aOutline)
	{
		return mOutline = aOutline;
	}
	StringDisplay()
	{
		Outline(false);
	}
	StringDisplay(bool aOutline)
	{
		Outline(aOutline);
	}
	void operator()(SmartString& ref, unsigned int ID) const
	{
		cout << "Object(" << ID << ") = '" << ref << "'" << endl;
	}
};
#endif
